package com.smart.validate.exception;

/**
 * @author weaponry MrYe
 * @program smart-validator
 * @description 异常策略
 * @created 2020-07-20 10:45
 */
public interface Strategy {
    /**
     * 抛出自定义异常
     *
     * @param msg
     * @return
     */
    RuntimeException getException(String msg);
}
